<%
//---------------------------------------------------------------------------------------------
//	1. 파일명		    : zipcode.jsp
//	2. 작성일자		    : 2007. 4. 19
//	3. 작성자		    : 오병래
//	4. 시스템 		    : 우편번호
//	5. Description      : 우편번호 검색
//---------------------------------------------------------------------------------------------
%>
<%@ page import="java.sql.*,javax.sql.DataSource,java.util.Properties, javax.naming.*" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	response.setHeader("Cache-Control", "no-cache");
	response.setHeader("Cache-Control", "no-store");
	response.setHeader("pragma", "no-cache");
%>
<html>
<head>
<style>
	A:link {text-decoration:none;color:#5f5f5f}
	A:hover{text-decoration:yes;color:#038afd}
	A:visited {text-decoration:none;color:#5f5f5f}
	td{font-size:10pt}
</style> 
<script language="javascript">
<!--
	/***************************************************
		zipcode_i.jsp 호출
	****************************************************/
	function submitIt()
	{
		if (document.thisPage.reqVal.value == "") {
			alert("검색어를 입력하세요.");
			document.thisPage.reqVal.focus();
			return;
		}
	    document.thisPage.submit();
	}
//-->
</script>
</head>
<%
try{
%>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form name="thisPage" method="post" action="zipcode_i.jsp" target="grid" onSubmit="submitIt()">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td align="center">
            <table width="600" border="0" cellspacing="0" cellpadding="0">
				<tr><td colspan="2" height="20">&nbsp;</td></tr>
				<tr><td colspan="2" height="3" bgcolor="blue"></td></tr>
				<tr><td colspan="2" align="center"><b>◈ 우편번호 조회 ◈</b></td></tr>
				<tr><td colspan="2" height="3" bgcolor="blue"></td></tr>
				<tr><td colspan="2" height="10">&nbsp;</td></tr>
              <tr>
                <td align="center" valign="top">
                  <table width="75%" style="BORDER-COLLAPSE: collapse" borderColor=#b4c7d4 cellSpacing=1 align=center border=1 height="35">
                    <tr>
                      <td width="120" align="center">조회조건</td>
                      <td width="350">&nbsp;&nbsp;&nbsp;
                        <select name="reqflag">
                         <option value="3">&nbsp;&nbsp;동</option>
                          <option value="2">&nbsp;구군&nbsp;</option>
                          <option value="1">&nbsp;시도&nbsp;</option>
                          
                        </select>
                        <input type="text" name="reqVal" size="25" value="">
                      </td>
                      <td width="80" align="center">
						<input type="button" value="조 회" onClick="javascript:submitIt();" style="cursor:hand">&nbsp;&nbsp;
                      </td>
                    </tr>
                  </table>
                  <br>
                </td>
              </tr>
              <tr>
                <td align="center" valign="top" height="10">
					<iframe name="grid" frameborder="0" width="100%" height="280" src=""></iframe>
                </td>
              </tr>
              <tr>
                <td align="center" valign="top" bgcolor="A4AAB4" height="5"></td>
              </tr>
              <tr>
                <td align="center" valign="top" height="20"></td>
              </tr>
              <tr>
                <td align="center">
                  <table width="95%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td align="center">
						<input type="button" value="닫 기" onClick="javascript:window.close();" style="cursor:hand">&nbsp;&nbsp;
					  </td>
                    </tr>
                    <tr>
                      <td align="right" height="10" colspan="2"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
		</td>
	</tr>
</table>
</form>
</body>
</html>
<%
}catch(Exception e)
{
	e.printStackTrace();
}finally{
}
%>
